package com.qk.domain.user;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserDO {

    private Integer id;


    private String username;


    private String password;


    private String name;


    private String phone;


    private String email;


    private Integer gender;


    private Integer status;


    private Integer deptId;


    private Integer roleId;


    private String image;


    private String remark;


    private LocalDateTime createTime;


    private LocalDateTime updateTime;

    //扩展属性
    private String deptName; //部门名称
    private String roleName; //角色名称
}
